import Mock from 'mockjs'

const data = {
    code: 200,
    msg: '操作成功',
    data:  [
        {
            date: '2016-05-03',
            name: 'Tom',
            address: '广州',
          },
          {
            date: '2016-05-02',
            name: 'Tom',
            address: '上海',
          },
          {
            date: '2016-05-04',
            name: 'Tom',
            address: '东莞',
          },
          {
            date: '2016-05-01',
            name: 'Tom',
            address: '深圳',
          },
          {
            date: '2016-05-01',
            name: 'Tom',
            address: '佛山',
          },
    ]
}
Mock.mock('/api/tableData','get',data)